home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
pc
/
shared.dir
/
01945_Script_Demo Buttons
< prev
next >
Wrap
Text File
|
1995-09-13
|
1KB
|
55 lines
on DemoRollover whichbutton, howlong
ShowControl (whichbutton)
set count = 0
repeat while count < howlong
setDemoHilight (whichbutton)
wait .3
reset (whichbutton)
wait .3
set count = count + 1
end repeat
end
on DemoRollover2 whichbutton1
ShowControl (whichbutton)
if soundbusy(1) then
setDemoHilight (whichbutton1)
wait .2
end if
end
on DemoRollover3 whichbutton1
ShowControl (whichbutton)
if soundbusy(1) then
reset (whichbutton1)
wait .2
end if
end
on DemoRolloverS whichbutton
ShowControl (whichbutton)
setDemoHilight (whichbutton)
wait .2
reset (whichbutton)
wait .2
if soundbusy(1) then
go the frame
end if
end
on MovieBoxRollover WhichCast1, whichcast2
puppetsprite 23, true
set count = 0
repeat while count < 6
set the castnum of sprite 23 = the number of cast whichcast2
updatestage
wait .3
set the castnum of sprite 23 = the number of cast whichcast1
updatestage
wait .3
set count = count + 1
end repeat
puppetsprite 23, false
end